<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Account_Index extends Controller_Base {

    public function before() {
        parent::before();

        //Віджети
        /*$menu = $this->widget_load('menu');
        $login = $this->widget_load('login');

        $news = Model::factory('news')->last_news();
        $news = View::factory('index/v_news', array('news' => $news));

        //Вивід в шаблон
        $this->template->block_left = array($menu, $login);
        $this->template->block_right = array($news);*/
    }

    public function action_index() {
        $this->template->block_center = array('Профайл');
    }
    
    public function action_orders() {
        $this->template->block_center = array('Замовлення');
    }

}